﻿namespace EFS.RC.CC.Messages.Supervisor.Tools
{
	/// BargeIn message class
	public class BargeIn : EFS.RC.CC.Messages.Message
	{
		/// Implicit constructor: used for XML Serialization
		public BargeIn()
		{
		}

		/// Explicit constructor
		public BargeIn(System.String agentSIP)
		{
			this.AgentSIP = agentSIP;
		}

		/// Property AgentSIP: Get, Set
		public System.String AgentSIP;

		/// Serialize
		public override void Serialize(EFS.Common.Serialization.XmlWriter xmlWriter)
		{
			// write
			xmlWriter.Write("AgentSIP", AgentSIP);
		}

		/// Deserialize
		public override void Deserialize(EFS.Common.Serialization.XmlReader xmlReader)
		{
			// read
			xmlReader.Read("AgentSIP", ref AgentSIP);
		}
	}

}